#ifndef GT_FILE_H
#define GT_FILE_H

#include "gt_entry.h"

struct gt_file_t {
  entry_t entry;
};

entry_t *create_file(result_t *result, char *file);
void display_file(entry_t *entry, search_t *search, int y,
                  int is_cursor_on_entry);
void free_file(entry_t *entry);
int is_file_selectable(entry_t *entry);

#endif // header file protect
       // ok